package com.tim.service;

import com.tim.pojo.DataResult;
import com.tim.pojo.Person;

import java.util.List;

/**
 * 作者：Tim
 * 时间：2021/4/28 16:07
 */
public interface PersonService {
    int deletePerson(String personID);
    int addPerson(Person person);
    Person selectOne(String personID);
    int updatePerson(Person person);
    List<Person> searchPerson(String personName);
    int deleteAll(String[] ids);
    int addAllPerson(List<String[]> data);
    //分页查询
    DataResult limit(String currentPage, String pageSize, String personName);

}
